<?php

// +----------------------------------------------------------------------
// | quanli team
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2020 http://www.fistforward.com/ All rights reserved.
// +----------------------------------------------------------------------
// | Author: create by allen.qiang
// +----------------------------------------------------------------------

/**
 * 商品生产信息
 * @package  htdocs
 * @subpackage  quanliadmin
 * @author   create by allen.qiang
 * @version 1.0
 */

class pa_goodsProduce {
	
	public function execute() {
		
		if (isset($_REQUEST['operFlg']) && $_REQUEST['operFlg'] >0) {
			
			switch ($_REQUEST['operFlg']) {
				
				case 1:	//商品生产信息列表
					$this->goodsProduceList();
					break;
				default:
					backendError();
				
			}
			
		} else {
			backendError();
		}
		
	}
	
	/**
	 * 商品生产信息列表
	 */
	private function goodsProduceList() {
		
		global $G_PGLOB;
		
		$G_PGLOB->smarty->assign('edit_permission',$G_PGLOB->has_permission(539));
		$G_PGLOB->smarty->display('goods/goodsProduceList.tpl');
		
	}
	
}